Skip to main content

vScriptValGetToNumber

Gets the value of a ScriptVal key as a Fusion Number The output from the vScriptValGetToNumber node is a Number based data type that can be used to drive number based controls in the Inspector view like transforms, rotations, scale, angle, or other parameters. You can also use the Number based output from the vScriptValGetToNumber node to carry out further node-based math operations with nodes like vNumberAdd, vNumberSubtract, vNumberMultiply, vNumberDivide, etc..

Core / ScriptValScriptVal
vScriptValGetToNumber node

Parameters​

ParameterTypeDefaultDescription
ScriptValScriptVal—ScriptVal object to query.
KeyText—The key to look up, returned as a Number for driving Inspector controls or downstream math nodes.
Show InputInteger0.0Reveals the wire for the ScriptVal connection in the Flow view.
Get KeyFloat—Renames this node to scriptval_<Key>, making it easy to identify which key it reads at a glance.